<!DOCTYPE HTML>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>商品详情</title>
    <style type="text/css">
        body {
            font: normal 100% Helvetica, Arial, sans-serif;
            margin: auto;
        }

        h1 {
            font-size: 1.5em;
        }

        small {
            font-size: 0.875em;
        }

        img {
            width: 100%;
            margin: 0;
        }

        * {
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none; /*系统默认菜单被禁用*/
            -webkit-user-select: none; /*webkit浏览器*/
            -khtml-user-select: none; /*早期浏览器*/
            -moz-user-select: none; /*火狐*/
            -ms-user-select: none; /*IE10*/
            user-select: none;
        }

.content {
	/*padding: 0 0.5rem;*/
	font-family: "PingFang";
	font-size: 0.9rem;
}
.content-box{
    padding: 0.5rem 0.5rem;
}
.text {
	line-height: 1.5rem;
	color: #51524e;
}


    </style>
</head>
<body>
<section class="content content-box">
<?php foreach ($info as $k=>$v):?>
	<?php if($v['type'] == 2):?>

            <img alt="" src="<?php echo $v['content'];?>" style="display:block">

        <?php else:?>
            <div  class="content text">
                <?php  echo $v['content'];?>
            </div>
        <?php endif;?>
    <?php endforeach;?>
</section>
</body>
</html>